#include <stdio.h>
#include <string.h>
#include <stdlib.h>

char *handle(char *str){
    char *a;
    int i = 0, j = 0, flag = 0;
    a=(char *)malloc(100*sizeof(char));
    //查找点
    for (i = 0; str[i]!='\0' ; i++)
    {
        if(str[i]=='.'){
            flag = 1;
        }
        if(flag)
            a[j++] = str[i];
    }
    a[j] = '\0';
    while (j--)
    {
        if(a[j]=='0')
            a[j] = '\0';
        else
            break;
    }

    if(a[j]=='.')
        return NULL;

    return a;
}

int main(int argc, char *argv[]) {

    char num[1024];
    gets(num);

    char *pnum;

    pnum = handle(num);
    
    if (pnum!=NULL)
    {
        printf("0%s\n",pnum);
    }else{
        printf("No decimal part\n");
    }
    
    return 0;
}